<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Đăng nhập admin</title>
</head>
<link rel="stylesheet" type="text/css" href="../css/960.css"/>
<link rel="stylesheet" type="text/css" href="../css/reset.css"/>
<link rel="stylesheet" type="text/css" href="../css/text.css"/>
<link rel="stylesheet" type="text/css" href="../css/css_dangnhap.css"/>
<body>
<script>
	function dangnhap()
	{
		var userAdmin = document.getElementById('user');
		var passAdmin = document.getElementById('pass');
		//alert(pass.value);
		
		if(userAdmin.value == "quanghagc00613@fpt.edu.vn" &&  passAdmin.value == "123456789"){
			alert("Admin Hoàng Anh Quang, Chào mừng bạn");
			window.location ="add_sp.html";

		} else {
			alert("Bạn đã nhập sai Email hoặc mật khẩu!");
		}
	}
</script>
<div class="nen_lognin">
    <div class="container_12">
        <div class="grid_12">
            <div id="left2">
				<img src="../anh/admin.jpg" />
            </div>
            <div id="right2">
            	<div style="margin-left:30px; margin-top:20px;">
                	<a id="anh2"><img src="../anh/sign_up_icon.png" /></a>
                     <form name="myForm" onsubmit="return dangnhap();" method="post">
                          <table>
                            <tr class="bang">
                                <td >Email : <span class="loi2" id="saiuser"></span></td>
                            </tr>
                            <tr class="bang">
                                 <td ><input class="dangnhap" type="text" placeholder="Nhập Email" name="Email" id="user"/></td>
                            </tr>
                            <tr class="bang">
                                <td>Mật Khẩu : <span class="loi2" id="saipass"></span></td>
                            </tr>
                            <tr class="bang">
                                 <td><input class="dangnhap" type="password" placeholder="Mật khẩu" name="pass" id="pass"/></td>
                            </tr>
                        </table>
                        	<input type="button" onclick="dangnhap()" id="nut_dangNhap_admin" value="Đăng nhập" />
                     </form>
                <div class="line_loginAdmin"></div>
           		</div>
            </div><!--khóa thẻ right2-->
        </div>
    </div>
</div>
<script language="javascript" src="js/jQuery.js"></script>
<script language="javascript" src="js/test.js"></script>	
</body>
</html>
